package com.easy.life.controller;

import java.util.Arrays;
import java.util.Map;

import com.easy.life.common.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import com.easy.life.service.ImageService;




/**
 * 
 *
 * @author xuhbin
 * @email a2712136826@qq.com
 * @date 2021-02-27 14:51:15
 */
@RestController
public class ImageController {

    @Autowired
    private ImageService imageService;
    /**
     * 获取房间的图片
     */
    @GetMapping("/getRoomImage/{id}")
    public R getRoomImage(@PathVariable("id") Long id){

        return imageService.getRoomImage(id);

    }




}
